Modeling Events in Object-Process Methodology and in Statecharts

نویسندگان

  • Iris Reinhartz-Berger
  • Arnon Sturm
  • Dov Dori
چکیده

Complex systems are often reactive, i.e., they continuously respond to external and internal stimuli (events) and may have time constraints. When modeling such systems, the designer should be able to determine the system's behavior, as well as its flow of control. One common way for expressing control flows is via Event-Condition-Action (ECA) rules [1]. These rules specify for each action (process) its triggering event and its guarding condition. The action is executed when the triggering event occurs, if and only if the guarding condition is fulfilled at that time. In this paper, we specify how two modeling approaches, Statecharts and Object-Process Methodology (OPM), model the ECA paradigm and compare the expressive power of the respective models. We examine the types of supported events, how these event types are integrated into complete system specifications, and what are the potential implications on the code derived from each one of the specifications. Statecharts [3] is an extension of the conventional formalism of state machines and diagrams. It can be used either as a stand-alone behavioral description or as part of a more general analysis and design method, such as UML [5]. Statecharts is based on states, which specify a situation in which a system (or an object) exists, and transitions, which enable the system to move from one state to another. A transition has the form of an ECA rule, i.e., syntactically formulated as "event [condition] | action". OPM [2] is an integrated modeling method that unifies the system function, structure, and behavior within one frame of reference. The building blocks of OPM are objects, processes, states, and structural and behavioral links. Each OPM specification consists of a set of graphical representations, called Object-Process Diagrams (OPDs), and a corresponding natural language description, called Object-Process Language (OPL) script. The translation from an OPD set to the corresponding OPL script and vice versa is done automatically, so the designer can interchangeably work on the graphical or textual version of the specification. OPM/T [4], which is an extension of OPM for specifying reactive and real-time systems, has applied the ECA rules to OPM by defining triggering events, guarding conditions, temporal constraints, and timing exceptions. In this paper, OPM refers also to its OPM/T extension. Table 1 provides a Statecharts model and an OPM model (both an OPD and an OPL sentence) for each one of the common event types. Comparing the models suggested for state entrance, …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards an Automatic Integration of Statecharts

The integration of statecharts is part of an integration me thodology for object oriented views Statecharts are the most important language for the representation of the behaviour of objects and are used in many object oriented modeling techniques e g in UML In this paper we focus on the situation where the behaviour of an object type is represented in several statecharts which have to be integ...

متن کامل

Design and Verification of Industrial Logic Controllers with UML and Statecharts

The paper describes a methodological framework that aims to apply formal design and verification techniques to the domain of Logic Control and Supervision for Manufacturing Systems. The methodology is based on a Object-Oriented approach, supported by a syntactical and semantical adaptation of the semi-formal software specification languages UML and Statecharts. The modeling languages has been s...

متن کامل

Mapping UML statecharts to java code

The Unified Modeling Language (UML) statechart diagram is used for modeling the dynamic aspects of systems. The UML statechart diagrams include many concepts that are not present in most popular programming languages, like Java or C++. There exists a gap between high level modeling language and a programming language. There is not a one-to-one mapping between a statechart and its implementation...

متن کامل

Object-Oriented Modeling with Events

Although in the object-oriented paradigm objects play the central role, putting events forward is not in contradiction with current object-oriented practice. Indeed, most object-oriented methods use a state and transition-based formalism to specify behavior such as finite state machines or statecharts [1, 2, 4, 5, 6, 8]. In such formalisms the different states of an object are taken as starting...

متن کامل

Modeling of Hydraulic Systems for Hardware-in-the-loop Simulation: a Methodology Proposal

The present paper proposes a methodology to organize model libraries of electro-hydraulic components. This methodology holds in the association of an object oriented modeling, equation based, language for model structure description, with a graphical formalism suitable for the dynamic behavior description of reactive hybrid systems. That is, a recent general purpose language for physical modeli...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002